import { createApp } from "vue";
import App from "./App.vue";
import { createWebHistory, createRouter } from "vue-router";

const routes = [
    { path: "/hello", component: () => import(/*webpackChunkName: 'hello'*/ "./components/Hello.vue") },
    { path: "/home", component: () => import(/*webpackChunkName: 'home'*/ "./components/Home.vue") },
];
const router = createRouter({
    history: createWebHistory(),
    routes,
});
const app = createApp(App);
app.use(router).mount("#app");
